@use "scss/variables";
@use "scss/colors";

.streamsHeader {
  width: 100%;
  padding: 0 variables.$spacing-sm 0 variables.$spacing-md;
}

.streamsHeading {
  color: colors.$blue;
  text-align: center;
  text-transform: uppercase;

  // Set line-height to 1 to make this centered with the info tooltip icon, and because this is a single line anyway
  line-height: 1;
  padding-top: 2px;
}

.viewButton {
  border: none;
  width: 100%;
  height: 34px;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: variables.$border-radius-md;
  padding: variables.$spacing-md;
  display: flex;
  align-items: center;
  gap: variables.$spacing-sm;
  overflow: hidden;
}

.unselectedViewButton {
  background-color: transparent;
  color: colors.$dark-blue;

  &:hover {
    background-color: colors.$grey-50;
  }
}

.selectedViewButton {
  background-color: colors.$blue-40;
  color: colors.$blue-600;
}

.streamListContainer {
  flex-grow: 1;
  width: 100%;
  min-height: 0;
}

.streamList {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0;
}

.viewLabel {
  flex: 1;
  overflow: hidden;
  display: flex;
  gap: variables.$spacing-sm;
  align-items: center;
}

.errorIndicator {
  flex: 0 0 auto;
  margin-right: variables.$spacing-xs;
}

.streamViewText {
  color: inherit;
}

.emptyStreamViewText {
  color: colors.$grey-300;
}
